.class public Lcom/xingbook/ui/GridViewNoScroll;
.super Landroid/widget/GridView;


# instance fields
.field private a:I

.field private b:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Landroid/widget/GridView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method


# virtual methods
.method public getNumColumns()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/GridViewNoScroll;->a:I

    return v0
.end method

.method public getVerticalSpacing()I
    .locals 1

    iget v0, p0, Lcom/xingbook/ui/GridViewNoScroll;->b:I

    return v0
.end method

.method public onMeasure(II)V
    .locals 2

    const v0, 0x1fffffff

    const/high16 v1, -0x8000

    invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    invoke-super {p0, p1, v0}, Landroid/widget/GridView;->onMeasure(II)V

    return-void
.end method

.method public setNumColumns(I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/GridViewNoScroll;->a:I

    invoke-super {p0, p1}, Landroid/widget/GridView;->setNumColumns(I)V

    return-void
.end method

.method public setVerticalSpacing(I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/ui/GridViewNoScroll;->b:I

    invoke-super {p0, p1}, Landroid/widget/GridView;->setVerticalSpacing(I)V

    return-void
.end method
